package edu.nf.ch11.aop;

import edu.nf.aop.ProxyFactory;

/**
*
* @author CSY
* @date 2025 - 04 - 21
*/public class Main {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(UserService.class);
        UserService service = proxyFactory.createProxy();
        service.add();
        service.update();
    }
}
